package com.hycat.mail.ware.client;

import com.hycat.mail.ware.vo.OrderEntityVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : lzhycat
 * @date : 2022-08-25 13:56
 */
@FeignClient(value = "mail-order")
public interface OrderClient {
    @GetMapping("/getByOrderSn")
    OrderEntityVo getByOrderSn(@RequestParam("OrderSn") String orderSn);
}
